﻿using System;
using System.ComponentModel.DataAnnotations;

namespace SimpleScrum.Core.Entities
{
    public class Team
    {
        [Display(Name = "Sprint ID")]
        public virtual Guid Id { get; set; }

        [Required]
        [DataType(DataType.Text)]
        [Display(Name = "Team Name")]
        [StringLength(50, ErrorMessage = "The Team Name must be at most 50 characters long")]
        public virtual string Name { get; set; }

        [Display(Name = "Status")]
        public virtual int Status { get; set; }
    }
}